<template>
    <page>
        <div v-for="i in list" class="px14 mx12 white-bg mt20 of" @click="openLocation(i)">
            <p class="h44 f18">{{i.shopName}}</p>
            <m-img :src="i.image"></m-img>
            <p class="color6 mt10">地址：{{i.address}}</p>
            <p class="color6 my10">电话：{{i.phone}}</p>
            <p flex="main:justify" class="h44 bdt">点击导航 <i class="iconfont icon-chakantiezidingwei f22"></i></p>
        </div>
    </page>
</template>
<script>
  import { openLocation } from '@/common/jssdk'
  export default {
    data () {
      return {
        form: {}
      }
    },
    computed: {
      list () {
        return this.$g.shopList
      }
    },
    methods: {
      PitsPullData () {},
      PitsPushData () {},
      openLocation({latitude, longitude, shopName: name, address}) {
        openLocation({latitude, longitude, name, address})
      }
    },
    components: {}
  }
</script>
<style type="text/scss" lang="scss" scoped>

</style>
